<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:p="http://primefaces.prime.com.tr/ui"
	xmlns:myComponents="http://java.sun.com/jsf/composite/myComponents">
<h:head>
	<title>Exercises: Composite Components</title>


	<h:outputStylesheet name="anythingslider.css" library="css"  target="head"/>
	<h:outputScript library="js" name="jquery.anythingslider.js" target="body"/>
	<h:outputStylesheet name="styles.css" library="css" />

	<h:outputScript library="primefaces" name="jquery/jquery.js" target="head" />
	<!-- Define slider dimensions here -->
	<style>
#slider {
	width: 400px;
	height: 300px;
}
</style>

	<!-- AnythingSlider initialization -->
	<script>
		// DOM Ready
		$(function(){
			$('#slider').anythingSlider();
		});
	</script>

</h:head>
<h:body>



	<fieldset>
		<legend>My Slider</legend>
		<myComponents:mySlider contents="#{galeriBean.images}" />
	</fieldset>

	<!-- END AnythingSlider -->

</h:body>
</html>